package com.guli.pay;



import com.guli.pay.until.IdWorker;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@MapperScan(basePackages = {"com.guli.pay.mapper"})
public class PayApptityon {


    public static void main(String[] args) {
        SpringApplication.run(PayApptityon.class);
    }

    @Bean
    public IdWorker idWorker(){
        return new IdWorker();
    }
}
